﻿using Comm100.Framework.Domain.Services;
using Bot.Domain.Bo;
using Bot.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Bot.Domain.Interfaces
{
    public interface IEntityDomainService : IDomainService
    {
        Entity Create(Entity entity);

        Entity Get(Guid id, string include = "");

        Entity Update(EntityUpdateBo id);

        IEnumerable<Entity> ListCustomEntities(Guid botId, string include="");

        void Delete(Guid id);

        List<Entity> GetAllByBotId(Guid botId);
        List<Entity> ListPrebuiltEntities(Guid botId);
        Operation Import(Guid jobId, Chatbot bot, string filePath);
        bool BatchInsertPrebuiltEntities(int siteId, Guid botId, List<PrebuiltEntity> prebuiltEntities);        
    }
}
